body #iubenda-iframe {
    z-index: 2147483647 !important;
}

#iubenda-cs-banner {
    bottom: 0 !important;
    left: 0 !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 2147483647 !important;
    background: rgba(43, 44, 61, 0.85);
    opacity: 0;
    transition: opacity 100ms ease-in-out;
}

#iubenda-cs-banner * {
    outline: none !important;
}

#iubenda-cs-banner.iubenda-cs-visible {
    opacity: 1
}

.cp-undeline {
    text-decoration: underline;
    cursor: pointer;
}

#ameConsentUI {
    bottom: 0;
    left: 0;
    position: fixed;
    padding: 25px 15px 0 15px;
    background: #fff;
    color: #000;
    font: 14px/22px Arial, sans-serif;
    z-index: 9999999;
    box-shadow: 0px 0px 64px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

#ameConsentUI a {
    color: #000;
    text-decoration: underline;
    border: none;
}

#ameConsentUI a:hover {
    background: transparent;
}

#ameConsentUI .amecp_cookieText:before {
    content: "Utilizzo dei cookie";
    font: 700 20px/30px Arial, sans-serif;
    letter-spacing: -0.964286px;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

#ameConsentUI .amecp_cookieText.amecp_cookieTextEN:before {
    content: "Use of cookies";
}

#ameConsentUI .amecp_cookieText {
    padding: 0 15px 15px 15px;
    overflow: auto;
    max-height: 230px;
    position: relative;
}

#ameConsentUI .amecp_cookieText p {
    display: inline;
    font-size: inherit;
    font-family: Arial;
}

#ameConsentUI .amecp_button-column {
    flex-direction: column;
    display: flex;
}

#ameConsentUI .amecp_cookieButton {
    background: #FFFFFF;
    padding: 15px 30px 15px 30px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

#ameConsentUI .amecp_button-accetto,
#ameConsentUI .amecp_button-customize {
    background: #0073CE;
    border: 1px solid #0067B9;
    box-sizing: border-box;
    border-radius: 3px;
    width: 100%;
    color: #fff;
    font: 700 17px/50px Arial, sans-serif;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    padding: 0;
    position: relative;
    opacity: 1;
    transition: opacity 150ms ease-in-out;
    cursor: pointer;
}

#ameConsentUI .amecp_button-customize {
    border: 1px solid #ededed;
    background-color: #f8f8f8;
    color: #59636d;
    font: 700 15px/50px Arial, sans-serif;
}

#ameConsentUI .amecp_button-accetto:after {
    background: url("https://dafne.sirio.stbm.it/utility-fe/prod/general/images/arr.svg") no-repeat center right #0073CE;
    background-size: 100%;
    width: 12px;
    height: 100%;
    position: absolute;
    right: 20px;
    top: 0;
    content: "";
}

#ameConsentUI .amecp_button-accetto:hover,
#ameConsentUI .amecp_button-customize:hover {
    opacity: 0.9;
}

#ameConsentUI .amecp_button-accetto:focus,
#ameConsentUI .amecp_button-customize:focus {
    outline: 0;
}

#ameConsentUI img.logocpmondadori {
    height: auto;
    width: 100px;
    margin: 5px auto 0;
    display block;
}

@media all and (max-width: 340px) {
    #ameConsentUI {
        padding: 20px 10px 0 10px;
        font: 12px/18px Arial, sans-serif;
    }

    #ameConsentUI .amecp_cookieText {
        padding-left: 10px;
        padding-right: 10px;
        max-height: 150px;
        font-size: 14px;
        line-height: 23px;
    }

    #ameConsentUI .amecp_cookieButton {
        padding: 10px;
    }
}

@media all and (min-width: 480px) {
    #ameConsentUI .amecp_cookieText:before {
        width: 100%;
    }
}

@media all and (min-width: 768px) {
    #ameConsentUI {
        font: 16px/23px Arial, sans-serif;
        padding: 35px 30px 0 30px;
    }

    #ameConsentUI .amecp_cookieText {
        max-height: 190px;
    }

    #ameConsentUI .amecp_cookieText,
    #ameConsentUI .amecp_cookieButton {
        padding-left: 35px;
        padding-right: 35px;
        max-width: 710px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    #ameConsentUI .amecp_cookieButton {
        box-shadow: none;
        padding-bottom: 40px;
    }

    #ameConsentUI .amecp_cookieButton {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
        padding-right: 22px;
    }

    #ameConsentUI .amecp_button-accetto,
    #ameConsentUI .amecp_button-customize {
        line-height: 45px;
        max-width: 100%;
        margin: 5px 0;
    }

    #ameConsentUI img.logocpmondadori {
        width: 118px;
        height: auto;
        order: 0;
        margin: 0
    }

    #ameConsentUI .amecp_button-column {
        flex: 1 0 auto;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        align-items: center;
    }

    #ameConsentUI {
        padding: 30px 30px 0 30px;
        font: 18px/30px Arial, sans-serif;
    }

    #ameConsentUI .amecp_cookieText {
        max-height: 410px;
        font-size: 15px;
        line-height: 23px;
        padding-bottom: 0;
    }

    #ameConsentUI .amecp_cookieText:before {
        font-size: 24px;
        line-height: 30px;
    }

    #ameConsentUI .amecp_cookieText,
    #ameConsentUI .amecp_cookieButton {
        max-width: 940px;
        padding-right: 35px;
    }

    #ameConsentUI .amecp_button-accetto {
        line-height: 60px;
        height: 60px;
        width: 220px;
        margin: 0;
        order: 2;
    }

    #ameConsentUI .amecp_button-customize {
        line-height: 60px;
        height: 60px;
        width: 200px;
        margin: 0 20px 0 auto;
        order: 1;
    }
}

@media all and (min-width: 1000px) {

    #ameConsentUI .amecp_button-customize,
    #ameConsentUI .amecp_button-accetto {
        width: 270px;
    }
}